Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update loadable refs to read_group refs #35

Merged
merged 4 commits into from
Nov 1, 2024

Conversation

mellypop
Copy link
Member

@mellypop mellypop commented Feb 6, 2023

No description provided.

Comment on lines 121 to 125
query = """select rg.read_group_id, rg.pu
from read_group rg inner join sample_target_project_view stpv
on rg.sample_target_id = stpv.sample_target_id and rg.project_id = stpv.project_id
where status = 'Normal' and formal_name = %s and target_name = %s
and project_name = %s and subproject = %s;"""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's take the opportunity to format this (i.e. newlines, indentation, etc.). It's already changed enough that the whole block is a diff, so no reason not to fix the lack of formatting of the query.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like this?

    query = """select
            rg.read_group_id,
            rg.pu
        from
            read_group rg
            inner join sample_target_project_view stpv
                on rg.sample_target_id = stpv.sample_target_id and rg.project_id = stpv.project_id
        where
            status = 'Normal'
            and formal_name = %s
            and target_name = %s
            and project_name = %s
            and subproject = %s;"""

@mcrusch
Copy link
Collaborator

mcrusch commented Mar 7, 2023 via email

@mcrusch mcrusch merged commit 19027ec into main Nov 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants